package com.htjc.integral.account.util.enums;


public enum AccountReturn {
	ACCOUNT_SUCCESS(true, 0, "状态成功"),
	ACCOUNT_ERROR(true, -1, "状态失败"),
	ACCOUNT_ERROR_PARAMS(false,-1,"参数为空"),
	ACCOUNT_ERROR_RESULT(false,-1,"返回结果为空"),
	ACCOUNT_ERROR_ACCOUNTNAME(false ,-1,"账户名称为空"),
	ACCOUNT_ERROR_LOGINACCOUNTID(false ,-1,"登录账户ID"),
	ACCOUNT_ERROR_OPERATIONSTATUS(false ,-1,"操作类型"),
	ACCOUNT_ERROR_BUSINESSID(false ,-1,"业务ID为空"),
	ACCOUNT_ERROR_INCOMESOURCE(false ,-1,"收入来源为空"),
	ACCOUNT_ERROR_SOURCEDDESCRIBE(false ,-1,"来源说明为空"),
	ACCOUNT_ERROR_INCOMENUM(false ,-1,"收入总金额为空"),
	ACCOUNT_ERROR_EXPENDITUREWHERE(false ,-1,"业务类型"),
	ACCOUNT_ERROR_EXPENDITUREDESCRIBE(false ,-1,"支出备注"),
	ACCOUNT_ERROR_EXPENDITURENUM(false ,-1,"收入金额"),
	ACCOUNT_ERROR_WHEREABOUTSID(false ,-1,"去向方账号为空"),
	//资产中心配置表读取地址失败
	EC_BP_ASSETHUB_CONFIG_ERROR_URLADDRESS(false ,-1,"接口地址不存在"),
	//资产中心接口返回值枚举
	ASSETHUB_ERROR(false ,-1,"资产中心积分扣减失败"),
	ASSETHUB_ERROR_DEDUCTION(false ,-1,"资产中心积分扣减失败"),
	ASSETHUB_ERROR_ADD(false ,-1,"资产中心积分添加失败"),
	ASSETHUB_ERROR_QUERY(false ,-1,"资产中心积分查询失败"),
	//积分变更记录表（外网调用资产中心记录）枚举
	ASSETHUB_INTEGRAL_ERROR(false ,-1,"积分变更记录添加失败"),
	
	PROVINCE_CODE_ERROR_NULL(false ,-1,"网省编号为空"),
	ORG_NO_ERROR_NULL(false ,-1,"供电单位编码为空"),
	BUSINESS_TYPE_ERROR_NULL(false ,-1,"业务类型为空"),
	BUSINESS_ID_ERROR_NULL(false ,-1,"业务ID为空"),
	LOGIN_ACCOUNT_ID_ERROR_NULL(false ,-1,"登录账户ID为空"),
	POWER_USER_NO_ERROR_NULL(false ,-1,"户号为空"),
	UN_ID_ERROR_NULL(false ,-1,"统一用户ID为空"),
	IS_BOUND_ERROR_NULL(false ,-1,"绑定关系为空"),
	BOUND_TIME_ERROR_NULL(false ,-1,"绑定时间为空"),
	PAY_NUM_ERROR_NULL(false ,-1,"交费金额为空"),
	CREATE_TIME_ERROR_NULL(false ,-1,"交费时间为空"),
	POWER_USER_NO_NOT_03(false ,-1,"交费户号非手动绑定"),
	
	
	TRANSFER_BINDING_ERROR_NULL(false ,-1,"无绑定户号"),
	HOUSE_QUERY_CONSBALANCE_ERROR(false ,-1,"查询户号积分异常"),
	
	HOUSE_DED_CONSBALANCE_ERROR(false ,-1,"扣减户号积分异常"),
	HOUSE_DED_BALANCE_ZERO(false ,-1,"户号积分小于零"),


	UNION_USER_ERROR(false ,-1,"调用统一用户接口异常"),
	TRANSFER_BINDING_INSERT_ERROR(false ,-1,"用户绑定关系同步入库失败"),
	REDPACKET_CAROUSEL_ERROR(false ,-1,"查询红包轮播图异常"),
	//    ACCOUNT_ERROR(false, -1, "账户主表添加更新失败"),
	//    ACCOUNT_ERROR_ACCOUNTMAINID(false, -1, "总账户ID不存在"),
	//    ACCOUNT_ERROR_ACCOUNTMAINIDUSABLENESSNUM(false, -1, "可用金额不存在"),
	//    ACCOUNT_ERROR_ACCOUNTMAINIDINCOMENUM(false, -1, "收入总金额不存在"),
	//    ACCOUNT_ERROR_ACCOUNTMAINIDANDPOWERUSERNO(false, -1, "总账户ID或户号不存在"),
	;
	private boolean status;
	private Integer code;
	private String msg;


	private AccountReturn(boolean status, Integer code, String msg) {
		this.status = status;
		this.code = code;
		this.msg = msg;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
